import React from "react";
import ReactDOM from "react-dom/client";
import Layout from "@/layout";
import "virtual:uno.css";
import "./samples/node-api";
import "./index.css";
import locale from "dayjs/locale/zh-cn";
import dayjs from "dayjs";
dayjs.locale(locale);

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
	<React.StrictMode>
		<Layout />
	</React.StrictMode>
);

postMessage({ payload: "removeLoading" }, "*");
